package com.kaishengit.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.kaishengit.dao.RoleDao;
import com.kaishengit.pojo.Role;

@Repository
@Transactional
public class RoleService {
	
	private RoleDao roleDao;
	
	public void save(Role role){
		roleDao.save(role);
	}

	

	@Autowired
	public void setRoleDao(RoleDao roleDao) {
		this.roleDao = roleDao;
	}

}
